<h1>EVE Ladder</h1>

<? if (isset($to_validate) && count($to_validate)) { ?>
	<h2><?php echo image_tag('/web/images/error.png') ?>&nbsp;Challenges you need to validate</h2>
	<?php include_partial('challenge/unvalidatedList', array('challenges' => $to_validate)) ?>
<? } ?>

<h2>Top <?php echo sfConfig::get('app_pager_homepage_ranking') ?></h2>

<?php include_partial('challenge/ranking', array('ranking' => $ranking)) ?>
<p class="big_purple"><?php echo link_to('see the whole ranking', 'challenge/ranking') ?></p>

<h2>Last <?php echo sfConfig::get('app_pager_homepage_challenges') ?> Challenges</h2>

<?php include_partial('challenge/list', array('challenges' => $challenges)) ?>
<p class="big_purple"><?php echo link_to('see all the challenges', 'challenge/list') ?></p>